#ifndef _CHATROOM_H_
#define _CHATROOM_H_
#include "stdTcpServer.h"

class ChatRoom
{
public:
    ChatRoom(const StdTcpSocketPtr &clientInfo);

    ~ChatRoom();
public:
    void ChatEnter();
private:
    void ChatMenu();

    void addFriend();

    void delFriend();

    void chatFriend();

    void blackList();

    void createGroup();

    void exitGroup();

    void joinGroup();

    void inviteJoinGroup();

    void groupChat();
private:
    StdTcpSocketPtr m_clientSock;
    static const int m_offset = 3;
};


#endif 